package com.ecoolex.hotel.saas.core.dao;

import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.hotel.saas.core.mapper.ActivityStoreMapper;
import com.ecoolex.hotel.saas.entity.ActivityStore;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivityStoreDAO extends ActivityStoreMapper {

    Long count(@Param("storeName") String storeName,
               @Param("activityId") Integer activityId);

    List<ActivityStore> query(@Param("storeName") String storeName,
                              @Param("activityId") Integer activityId,
                              @Param("page") Page page);
}